package com.talkweb.platform.commonapi.entity.db;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@Entity
public class UserDeptMap {
	
	@ApiModelProperty(value = "用户id")
	private String userId;
	
	@ApiModelProperty(value = "用户所属部门id")
	private String deptId;
	
	@ApiModelProperty(value = "用户当前部门标识（1：当前部门）")
	private char currentFlag;
	
	@ApiModelProperty(value = "用户主兼职标志（1：主职，0兼职）")
	private char mainDept;
	
	@ApiModelProperty(value = "用户排序号")
	private String sortNumber;
	
	@ApiModelProperty(value = "用户实际账号")
	private String relAccount;
	
	@ApiModelProperty(value = "用户 业务账号")
	private String ywAccountName;
	
	@ApiModelProperty(value = "业务账号标识（1：业务账号，0：非业务账号）")
	private int ywAccountFlag;
}
